package cn.com.aiton.educenter.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户的业务类型
 * </p>
 *
 * @author testAuthor
 * @since 2021-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UcenterMemberWorktype对象", description="用户的业务类型")
public class UcenterMemberWorktype implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
      @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "业务类型")
    private String workType;

    @ApiModelProperty(value = "用户ID")
    private String memberId;


    @ApiModelProperty(value = "乐观锁")
    private Integer gmtVersion;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    @TableLogic
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;



}
